package fr.jade.examples.fraclite.orb.consoleha;
import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.util.Fractal;

import fr.jade.fraclite.orb.factory.Util;
import fr.jade.fraclite.orb.registry.NamingService;
import fr.jade.fraclite.orb.registry.Registry;

/**
 * 
 * @author <a href="mailto:florent.metral@inrialpes.fr">Florent Metral
 *
 */
public class BootstrapLauncher {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
	  NamingService ns = Registry.getRegistry("localhost");
		Component boot = Util.getCreateHAFactory(Fractal.getBootstrapComponent());
		ns.bind("bootstrap", boot);
	}

}
